package top.hitotright.pdf;

import java.io.*;

public class PdfTest {
    public static void main(String[] arg){
        String out = "src/main/resources/html/test.pdf";
        String in = "src/main/resources/html/pdf.html";

        try {
            OutputStream outputStream = new FileOutputStream(new File(out));
            PDFUtil.createPdfByUrl(outputStream,in);
        } catch (Exception e) {
            e.printStackTrace();
        }


    }
}
